package com.lindroy.androidplayer.viewmodels

import androidx.lifecycle.ViewModel
import com.lindroy.androidplayer.utils.SingleLiveEvent

/**
 * @author Lin
 * @date 2022/3/10
 * @function
 */
data class SearchHistoryItemViewModel(
    val keyword: String,
    val isRemoveEnable: SingleLiveEvent<Boolean> = SingleLiveEvent()
) : ViewModel() {

    fun setRemoveEnable(isRemoveEnable: Boolean) {
        this.isRemoveEnable.postValue(isRemoveEnable)
    }
}
